/* index.wxss */
.chat-container {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  padding: 0rpx 10rpx;
}
/* 导航栏样式 */
.custom-navbar {
  display: flex;
  background-color: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
  justify-content: space-between;
  align-items: center;

  .model-text {
    font-size: 24rpx;
  }

  .user-info {
    display: flex;
    align-items: center;

    .user-avatar {
      width: 30rpx;
      height: 30rpx;
      border-radius: 50%;
      margin-right: 10rpx;
    }

    .user-name {
      font-size: 28rpx;
      color: #333;
    }
  }
}

.message-list {
  flex: 1;
  margin-bottom: 20rpx;
  
 
}

.message-item {
  padding: 20rpx;
  margin: 15rpx 0;
  max-width: 60%;
  border-radius: 20rpx;
}

.user-message {
  background-color: #4cd964;
  color: white;
  align-self: flex-end;
  width: 100%;
  float: right;
}

.robot-message {
  background-color: #e0e0e0;
  color: #333;
  align-self: flex-start;
}

.input-container {
  display: flex;
  align-items: center;
  background-color: #f5f5f5;
  padding: 15rpx;
}

.message-input {
  flex: 1;
  height: 60rpx;
  padding: 0 20rpx;
  border: 1px solid #ddd;
  border-radius: 30rpx;
  margin-right: 20rpx;
}

.send-btn {
  padding: 0 30rpx;
  height: 60rpx;
  line-height: 60rpx;
  background-color: #5677fc;
  color: white;
  border-radius: 30rpx;
}
